# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header

inherit eutils gnome2

DESCRIPTION="Gspy retrieves images from a video4linux device and processes these
into a daily mpeg movie on the disk drive. Each image is recorded with a time
stamp to insure accurate real world correlation. Special motion detection
algorithms are used to reduce the size of the daily movies by eliminating
pictures with similar content as well as the normal compression obtained via the
mpeg process. "
HOMEPAGE="http://gspy.sourceforge.net/"
SRC_URI="http://gspy.sourceforge.net/${P}-src.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
IUSE=""
S=${WORKDIR}/${PN}
RDEPEND=">=dev-libs/atk-1.5
	>=x11-libs/gtk+-2.6
	>=dev-libs/glib-2
	>=gnome-base/libgnome-2
	>=gnome-base/libgnomeui-2
	>=gnome-base/gconf-1.1.9"

DEPEND="${RDEPEND}
	sys-devel/flex
	>=dev-util/intltool-0.28
	app-text/scrollkeeper
	>=dev-util/pkgconfig-0.9"

DOCS="AUTHORS ChangeLog* MAINTAINERS NEWS README TODO"

src_compile() {
	./autogen.sh
	gnome2_src_compile
}
